simple modperl 1.0 code example for a non programmer.
am 28.09.2009 01:45:47 von Matthew Young--0016e647195acdf62d047497c7e6
Content-Type: text/plain; charset=ISO-8859-1
Hello,
Id like to say that Ive been browsing http://perl.apache.org/ and its
snippets section for help however I quickly realised that many of the
examples where written for modperl 2.0 which is why Id like to ask if
anybody could help me with a simple code snippet .. iam sure for the gurus
this wont take long. Id like to dive in learning perl myself but that will
happen later.
All I need is a .pm that is hooked up via the PerlPostReadRequestHandler in
the httpd.conf (apache 1.3) so that it sets co0kie if the GET var ($var) is
present.
This off course will be evaluated for all the requests to my webserver ,
thats the idea. Also, mod_perl is compiled with EVERYTHING=1 .
Thanks to whom had the time to help.
--Matt
--0016e647195acdf62d047497c7e6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,
Id like to say that Ive been browsing
apache.org/">http://perl.apache.org/ and its snippets section for help =
however I quickly realised that many of the examples where written for modp=
erl 2.0 which is why Id like to ask if anybody could help me with a simple =
code snippet .. iam sure for the gurus this wont take long. Id like to dive=
in learning perl myself but that will happen later.
All I need is a .pm that is hooked up via the=A0 PerlPostReadRequestHan=
dler in the httpd.conf (apache 1.3) so that it sets co0kie=A0 if the GET va=
r ($var) is present.
This off course will be evaluated for all the =
requests to my webserver , thats the idea.=A0 Also, mod_perl is compiled wi=
th EVERYTHING=3D1 .
Thanks to whom had the time to help.
--Matt
<=
br>
--0016e647195acdf62d047497c7e6--